home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
comms
/
hqfax.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-04-22
|
4KB
|
116 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX */
REM COPYRIGHT : (c) 1995 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: Install.bat */
REM DESCRIPTION : This batch file drives the Installation prodecure */
REM for the HQ-FAX product */
REM Install Batch file for One-Step High Quality FAX */
REM */
REM *********************************************************************/
REM
CLS
Echo *************************************************************************
Echo * Welcome to the HQ-FAX Installation Procedure *
Echo * Copyright (C) 1995 HTF Consulting *
Echo *************************************************************************
Echo *
Echo To install HQ-FAX into the directory C:\HQFAX, just enter "Install"
Echo To install HQ-FAX into any other directory, enter "Install X:\dirname"
Echo Where 'X' is the drive name ( C, D, E, etc.) & "dirname" is the directory.
Echo Example(1): "INSTALL "
Echo Example(2): "INSTALL C:\FAXWORK"
Echo Example(3): "INSTALL D:\HQFAX"
Echo *
if "%1" == "" goto verify
Echo WARNING!!! If you have entered a directory name without a drive letter
Echo or a drive letter without a directory name the installation will fail.
Echo Compare your input to the examples above.
Echo YOUR INPUT WAS: "%0 %1"
Echo *
:verify
if "%1" == "" Echo Will install HQ-FAX into the drive:directory C:\HQFAX
if not "%1" == "" Echo Will install HQ-FAX into the drive:directory %1
Echo *
Echo Enter [CNTL_C] to abort, OR...
Pause
if exist c:\hqfax.bat goto previnstl
if "%1" == "" if exist C:\HQFAX\*.* goto previnstl
if not "%1" == "" if exist %1\*.* goto previnstl
goto install
:previnstl
CLS
Echo ATTENTION! ATTENTION! ATENTION!
Echo A previous installation of HQ-FAX is detected. You must completely remove
Echo HQ-FAX before re-installing. Contact HTF Consulting (510) 521-1689
goto Abort
:install
CLS
Echo When the installation is complete the screen will clear and informative
Echo messages will appear!
Echo *
Echo Copying files .....
if not "%1" == "" goto Userdir
mkdir c:\HQFAX
copy *.* c:\HQFAX
Setpath.exe HQFAX HQFAX
erase c:\hqfax\setpath.exe
erase c:\hqfax\install.bat
erase c:\hqfax\hqfinfo.bat
goto Quit
:Userdir
mkdir %1
copy *.* %1
Setpath.exe HQFAX %1
erase %1\setpath.exe
erase %1\install.bat
erase %1\hqfinfo.bat
:Quit
CLS
Call HQFinfo.bat
Echo Print this screen if you like, and then ...
pause
CLS
Echo ****************************************************************************
Echo ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION!
Echo ****************************************************************************
Echo *
if "%1" == "" Echo HQ-FAX is installed into the directory C:\HQFAX.
if not "%1" == "" Echo HQ-FAX is installed into the directory %1.
Echo *
Echo First time users will need to identify their FAX modem software or class of
Echo FAX modem in the output format field of the HQ-FAX conversion screen.
Echo *
Echo Registered users will need to enter their Registration Key into the
Echo Registration key field in the HQ-FAX Conversion screen.
Echo *
Echo You may execute HQ-FAX from any directory if the root directory (C:\;) is in
Echo your current PATH. Otherwise you may execute HQFAX from the root directory.
Echo Your current PATH is:
PATH
PATH C:\;%path%
Echo *
Echo Your current PATH has been modified to include the root directory (C:\;).
Echo To start HQ-FAX, just enter "HQFAX" at the DOS prompt.
Echo Monochrome screen users must enter "HQFAX /mono" .
Echo Happy FAXing!
:Abort
:quit
C:
chdir c:\
Echo on